package com.smart.campus.interfaces;

import com.smart.campus.dto.ShAsk;
import com.smart.campus.pojo.PagedResponse;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface ShAskServiceApi {
    @RequestMapping(value = "shAsk/findAskList")
    public List<ShAsk> findAskList();

    @RequestMapping(value = "shAsk/pageShAsk")
    public PagedResponse<ShAsk> pageShAsk(@RequestBody ShAsk shAsk, @RequestParam(value = "pageNum")Integer pageNum,@RequestParam(value = "pageSize")Integer pageSize);
}
